package com.dragon.modules.yuegou.mapper.marketing;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.modules.yuegou.entity.marketing.AdvertisementEntity;
import com.dragon.modules.yuegou.model.marketing.Advertisement;
import com.dragon.modules.yuegou.query.marketing.AdvertisementQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 广告信息表 Mapper接口
 *
 * @author pbuilder generated
 * @date 2020-06-29 16:40:56
 * @version 2.0
 */
@Component("mktAdvertisementMapper")
public interface AdvertisementMapper extends BaseMapper<AdvertisementEntity> {


    List<Advertisement> listByType(@Param("query") AdvertisementQuery query);
}
